<div class="tit01">
    <h3>关注我们</h3>
    <div class="gzwm">
        <ul>
            <li><a class="xlwb" href="#" target="_blank">网站主页</a></li>
            <li><a class="txwb" href="#" target="_blank">联系电话</a></li>
            <li><a class="rss" href="portal.php?mod=rss" target="_blank">邮箱</a></li>
            <li><a class="wx" href="mailto:admin@admin.com" onmouseover="tip.start(this)"
                    tips="<font color='#fff'>关注<b>机友汇</b>微信账号</font><br><b><img src='images/weixintop.jpg'></b>">微信</a>
            </li>
            <div id="mjs:tip" class="tip" style="position:absolute;left:0;top:0;display:none;"> </div>
            <script>
                var tip = {
                    $: function (ele) {
                        if (typeof (ele) == "object")
                            return ele;
                        else if (typeof (ele) == "string" || typeof (ele) == "number")
                            return document.getElementById(ele.toString());
                        return null;
                    },
                    mousePos: function (e) {
                        var x, y;
                        var e = e || window.event;
                        return {
                            x: e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft,
                            y: e.clientY + document.body.scrollTop + document.documentElement.scrollTop
                        };
                    },
                    start: function (obj) {
                        var self = this;
                        var t = self.$("mjs:tip");
                        obj.onmousemove = function (e) {
                            var mouse = self.mousePos(e);
                            t.style.left = mouse.x + 10 + 'px';
                            t.style.top = mouse.y + 10 + 'px';
                            t.innerHTML = obj.getAttribute("tips");
                            t.style.display = '';
                        };
                        obj.onmouseout = function () {
                            t.style.display = 'none';
                        };
                    }
                }
            </script>



        </ul>
    </div>
</div>
<!--tit01 end-->
<div class="ad300x100"> <img src="{{staticThemePath}}/images/ad300x100.jpg"> </div>
<div class="moreSelect" id="lp_right_select">
    <script>
        window.onload = function () {
            var oLi = document.getElementById("tab").getElementsByTagName("li");
            var oUl = document.getElementById("ms-main").getElementsByTagName("div");

            for (var i = 0; i < oLi.length; i++) {
                oLi[i].index = i;
                oLi[i].onmouseover = function () {
                    for (var n = 0; n < oLi.length; n++) oLi[n].className = "";
                    this.className = "cur";
                    for (var n = 0; n < oUl.length; n++) oUl[n].style.display = "none";
                    oUl[this.index].style.display = "block"
                }
            }
        }
    </script>
    <div class="ms-top">
        <ul class="hd" id="tab">
            <li class="cur"><a href="/">点击排行</a></li>
            <li><a href="/">最新文章</a></li>
            <li><a href="/">站长推荐</a></li>
        </ul>
    </div>
    <div class="ms-main" id="ms-main">
        <div style="display: block;" class="bd bd-news">
            <ul>
                {% hot pageSize=6 %}
                {% for item in hot %}
                <li><a href="{{item.url}}" target="_blank">{{item.stitle}}</a></li>
                {% endfor %}
            </ul>
        </div>
        <div class="bd bd-news">
            <ul>
                {% news pageSize=6 %}
                {% for item in news %}
                <li><a href="{{item.url}}" target="_blank">{{item.stitle}}</a></li>
                {% endfor %}
            </ul>
        </div>
        <div class="bd bd-news">
            <ul>
                {% recommend pageSize=6 %}
                {% for item in recommend %}
                <li><a href="{{item.url}}" target="_blank">{{item.stitle}}</a></li>
                {% endfor %}
            </ul>
        </div>
    </div>
    <!--ms-main end -->
</div>
<!--切换卡 moreSelect end -->

<div class="cloud">
    <h3>标签云</h3>
    <ul>
        {% hottags pageSize=20 %}
        {% for tag in hottags %}
        <a href="{{tag.url}}">{{tag.name}}</a>
        {% endfor %}
    </ul>
</div>
<div class="tuwen">
    <h3>图文推荐</h3>
    <ul>
        {% recommend key="recWithPic",pageSize=6 %}
        {% for item in recWithPic %}
        <li><a href="{{item.url}}"><img src="{{item.sImg}}"><b>{{item.title}}</b></a>
            <p><span class="tulanmu"><a
                        href="{{(item.categories[item.categories.length-1]).url}}">{{(item.categories[item.categories.length-1]).name}}</a></span><span
                    class="tutime">{{item.date}}</span></p>
        </li>
        {% endfor %}
    </ul>
</div>
<div class="ad"> <img src="{{staticThemePath}}/images/03.jpg"> </div>
<div class="links">
    <h3><span>[<a href="/">申请友情链接</a>]</span>友情链接</h3>
    <ul>
        {% ads name="frendlink" %}
        {{adsPannel.slider(frendlink)}}
    </ul>
</div>